<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es-es" lang="es-es" dir="ltr">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	
	<meta name="robots" content="all" />
	<meta name="Copyright" content="Copyright (c) 2010 Activa" />
	<meta name="title" content="Diana d'Victoria"/>
	<meta name="Description" content="Diana d'Victoria" />
	<meta name="keywords" content="Diana d'Victoria" />
	<meta name="author" content="pol"/>
	<meta name="page-type" content="comercial"/>
	<meta name="expires" content="never"/>
	<meta name="publisher" content="loay"/>
	<meta name="page-topic" content="bouquets"/>
	<meta name="audience" content="Todos"/>
	
	<title>Ruiz :: Diseñadores de Calzado</title>
	

	<link rel="shortcut icon" href="images/icon.png" type="image/png" />
	<link rel="icon" type="image/x-icon" href="images/favicon.ico" />
	<link rel="apple-touch-icon" href="images/mobile-icon.png" />
	
	<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
	<link rel="stylesheet" type="text/css" href="css/reset.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/format-.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
	


	
	</head>

<body>

<!-- Start: Center Wrap -->
<div id="wrapper">
	
		<!-- Start: head -->
		<div id="head">
                <?php include('common/head.php'); ?>
		</div>
		<!-- End: head --> 	 	
	
	<!-- Start: content -->
	<div id="content">
		<div id="cont-contacto">
        <div id="banner-contac"><img src="images/banner-contac.jpg" width="345" height="612" alt="Banner Ruiz" /></div>
        <div id="form-cont">
        <p>Su opinión es valiosa para nosotros, por eso le agradecemos que cualquier solicitud, sugerencia o comentario no dude en contactarse con nosotros. Llene nuestro formulario y en la mayor brevedad posible nos pondremos en contacto con usted. Gracias.</p>
        <form id="formID" name="form1" method="post" action="">
        
            <?

  $destino_mail1 = "candy@activa.com.pe"; 
 
  function tratar_cad($cad) {
    return(addslashes(trim($cad)));
  }

  function send_mail($myname, $myemail, $contactname, $contactemail, $subject, $message, $bcc) {
    $headers .= "MIME-Version: 1.0\n";
    $headers .= "Content-type: text/html; charset=utf-8\n";
    $headers .= "From: \"".$myname."\" <".$myemail.">\n";
    if ($bcc != "")
      $headers .= "Bcc: ".$bcc."\n";    
    $output = $message;                $output = wordwrap($output, 72);
    return(mail("\"".$contactname."\" <".$contactemail.">", $subject, $output, $headers));
  }

 
  function lib_start_session() {
    return session_start();  }

  function lib_register_session($variable) {
    return session_register($variable);  }

  function lib_is_registered_session($variable) {
    return session_is_registered($variable);  }

  function lib_unregister_session($variable) {
    return session_unregister($variable);  }

  function lib_destroy_session() {
    return session_destroy();  }

/* PRINCIPAL = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */


    $mensa_ = "<strong>Se ha registrado la siguiente informaci&oacute;n a trav&eacute;s del ";
	$mensa_.= "formulario de Contactenos en linea (http://www.braconi.com.pe):</strong><br><br>\n\n";

	$mensa_.= "<table border=0><tr><td><strong>Campo</strong></td><td><strong>Valor</strong></td></tr>";
	reset ($HTTP_POST_VARS);
	while( list( $key, $valor ) = each( $HTTP_POST_VARS ) ) {
	  switch($key) {
	    case 'NextPage': break;
		case 'DOMAIN': break;
	    default:
          $mensa_.= "<tr><td>$key</td><td>$valor</td></tr>\n";
	  }
	}
	
	$mensa_.= "</table>\n<br>\n<strong>Informaci&oacute;n Adicional:</strong><br>\n";
	$mensa_.= "IP de registro: ".$REMOTE_ADDR."<br>\n";
	$mensa_.= "Fecha y Hora (servidor): ".date('Y/m/d - H:i:s')."<br>\n";
	$mensa_.= "<br>\n";
	$mensa_.= "--FIN--\n";
	$asunto= utf8_decode('Calzado Ruiz');
send_mail($asunto, 'candy@activa.com.pe', 'Contactenos candy@activa.com.pe', $destino_mail1, 'Solicitud de Informacion', $mensa_, '');


echo "<p align='center'><font face='Verdana, Arial, Helvetica, sans-serif' size=2><font color='#666'>&nbsp;&nbsp";
echo "<b>Gracias por Escribirnos</b><br><br />
";
echo "<font face='Verdana, Arial, Helvetica, sans-serif' size=2><font color='#666'>";
echo "Hemos recibido su mensaje exitosamente<br><br>";
echo "<p align='center'><font face='Verdana, Arial, Helvetica, sans-serif' size=2><font color='#666'>";
echo "Nos pondremos en contacto a la brevedad posible<br><br><br>";
echo "</p>";
?><div class="ir">
        <h3><a href="contacto.php" >volver al formulario</a></h3>
            </div>
        
       </form>
        </div>        
        <div id="plano-ubi"><img src="images/bg-ubicacion.jpg" width="375" height="244" alt="ubicacion" /></div>
        <div id="cont-direc">
        <h2>Atelier de Fiesta</h2>
        <p>Enrique Palacios 748</p>
        
        <div class="linea-direc"></div>
        <h2>Atelier de Fiesta</h2>
        <p>Enrique Palacios 752</p>
        
        <div class="linea-direc"></div>
        <h2>Teléfono</h2>
        <p>511 446 2842</p>
        
        </div>
        
        
      </div>
	</div>
	<!-- End: content --> 
		
		<!-- Start: footer -->
		<div id="footer">
			<?php include('common/footer.php'); ?>
		</div>
		<!-- End: footer --> 
	
	</div>
<!-- End: Center Wrap -->
</body>
</html>